#ifndef __APP_COMM_H__
#define __APP_COMM_H__



#include "bsp.h"

// 接收机通道

typedef enum{
    CHANNEL_R_LR,
    CHANNEL_R_FB,
    CHANNEL_L_THROTTLE,
    CHANNEL_L_YAW,
    CHANNEL_KNOB1,
    CHANNEL_KNOB2,
    CHANNEL_SWITCH1,
    CHANNEL_SWITCH2,
}ChannelNum_e;


#define IBUS_MAX_CHANNLES		14
#define IBUS_USER_CHANNELS		10			// Use 6 channels

extern uint16_t channel[IBUS_USER_CHANNELS];

void app_comm_task(void);



#endif
